package com.demo.spring.beans.factory;

import com.demo.spring.beans.BeansException;

public interface BeanFactory {

    Object getBean(String name) throws BeansException;

    // 获取有参构造器实例化的对象时传入对应的参数
    Object getBean(String name, Object... args) throws BeansException;

}
